#import <Foundation/Foundation.h>
#import "YLWebImageCompat.h"
#import "YLWebImageFrame.h"

@interface YLWebImageCoderHelper : NSObject

+ (UIImage * _Nullable)animatedImageWithFrames:(NSArray<YLWebImageFrame *> * _Nullable)frames;

+ (NSArray<YLWebImageFrame *> * _Nullable)framesFromAnimatedImage:(UIImage * _Nullable)animatedImage;

#if YL_UIKIT || YL_WATCH

+ (UIImageOrientation)imageOrientationFromEXIFOrientation:(NSInteger)exifOrientation;

+ (NSInteger)exifOrientationFromImageOrientation:(UIImageOrientation)imageOrientation;
#endif

@end
